package com.wym.dao;

import com.wym.pojo.User;

import java.util.List;

public interface IUserDao {

    //查询所有用户
    public List<User> findAll() throws Exception;


    //根据条件进行用户查询
    public User findByCondition(User user) throws Exception;

    //根据条件进行用插入
    public User insertOne(User user) throws Exception;

    //根据条件进行用户更新
    public User updateOne(User user) throws Exception;

    //根据条件进行用户刪除
    public User deleteOne(User user) throws Exception;





}
